package com.firewolf.springboot.startup;

import org.springframework.boot.CommandLineRunner;
import org.springframework.core.annotation.Order;
import org.springframework.stereotype.Component;

@Component
@Order(value = 1)
public class MyStartUp1 implements CommandLineRunner {

	@Override
	public void run(String... args) throws Exception {
		System.out.println("第一个类，启动后就执行，第一个参数是：" + args[0]);
	}

}
